
import aa = module("main/org/sdmx/model/v2/base/AnnotableArtefact");
import ac = module("main/org/sdmx/model/v2/base/AnnotationsCollection");

/**
	* Default implementation of the AnnotableArtefact interface. This
	* class exists as convenience for creating Annotation objects.
	* 
	* @author Xavier Sosnovsky, Anthony Morel
	*/
export class AnnotableArtefactAdapter implements aa.AnnotableArtefact {
		
	/*==============================Fields================================*/
		
	private _annotations:ac.AnnotationsCollection;
		
	/*===========================Constructor==============================*/
		
	constructor() {
	}
		
	/*============================Accessors===============================*/

	/**
		* @inheritDoc
		*/
	public setAnnotations(annotations:ac.AnnotationsCollection) {
		this._annotations = annotations;
	}
		
		
	/**
		* @inheritDoc 
		*/
	public getAnnotations():ac.AnnotationsCollection {
		return this._annotations;
	}
}